package com.sand.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("merchant")
public class Merchant {

    //雪花算法
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField(value = "userid")
    private Integer userid;

    @TableField(value = "permission")
    private Integer permission;

}
